using MicroMsg.UI.UserContrl;
using System;
namespace MicroMsg.Manager
{
	public class TXNews : IListDataItem
	{
		public string strTitle;
		public string strDescipt;
		public string strCoverImgFileName;
		public string strCoverImgUrl;
		public string strUrl;
		public string strShorturl;
		public string strLongurl;
		public string strTweetid;
		public string strSource;
		public string strIconUrl;
		public int nWidth;
		public int nHeight;
		public long nPubTime;
		public int nChatMsgLocalID;
		public bool hasMoreItem;
		public bool isCreateTime;
		public bool isBlankItem;
		public uint nGroupID;
		public string type;
		public void FillData(object item)
		{
			TXNews tXNews = item as TXNews;
			if (tXNews == null)
			{
				return;
			}
			tXNews.strTitle = this.strTitle;
			tXNews.strDescipt = this.strDescipt;
			tXNews.strCoverImgFileName = this.strCoverImgFileName;
			tXNews.strCoverImgUrl = this.strCoverImgUrl;
			tXNews.strUrl = this.strUrl;
			tXNews.strShorturl = this.strShorturl;
			tXNews.strLongurl = this.strLongurl;
			tXNews.strTweetid = this.strTweetid;
			tXNews.strSource = this.strSource;
			tXNews.strIconUrl = this.strIconUrl;
			tXNews.nWidth = this.nWidth;
			tXNews.nHeight = this.nHeight;
			tXNews.nPubTime = this.nPubTime;
			tXNews.nChatMsgLocalID = this.nChatMsgLocalID;
		}
	}
}
